
public class ClientInfo {
	private String ip;
	private String port;
	private int interval;
	private int goneTime;
	
	public ClientInfo(String ip, String port, int interval){
		this.ip = ip;
		this.port = port;
		this.interval = interval;
	}
	
	public void increaseGoneTime(){
		goneTime++;
	}
	public void resetGoneTime(){
		goneTime = 0;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public int getInterval() {
		return interval;
	}

	public void setInterval(int interval) {
		this.interval = interval;
	}

	public int getGoneTime() {
		return goneTime;
	}

	public void setGoneTime(int goneTime) {
		this.goneTime = goneTime;
	}
}
